package edu.ustb.efws.pipeline.controller.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.StringJoiner;

/**
 * 风险值输出点原始数据查询条件对象
 *
 * @author TS Group
 */
public class RiskParamVo {
    @ApiModelProperty("风险输出点编号")
    private final int positionId;
    @ApiModelProperty("风险值输出点位置显示")
    private final String position;

    public RiskParamVo(int positionId, String position) {
        this.positionId = positionId;
        this.position = position;
    }

    public int getPositionId() {
        return positionId;
    }

    public String getPosition() {
        return position;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", RiskParamVo.class.getSimpleName() + "[", "]")
                .add("positionId=" + positionId)
                .add("position='" + position + "'")
                .toString();
    }
}
